package com.yoyo.wauth.controller;

import com.yoyo.common.core.web.controller.BaseController;
import com.yoyo.common.core.web.domain.AjaxResult;
import com.yoyo.wauth.domain.form.UpdateUserBody;
import com.yoyo.wauth.domain.form.UserBody;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.*;


@Tag(name = "用户信息", description = "用户信息相关接口")
@RestController
@RequestMapping("/user")
public class UserController extends BaseController {


    @GetMapping("/info")
    public AjaxResult getUserInfo(@RequestBody UserBody body){
        return AjaxResult.success();
    }



    @PostMapping("/info/update")
    public AjaxResult updateUserInfo(@RequestBody UpdateUserBody body){
        return AjaxResult.success();
    }








}
